<!-- 用户列表 -->
<template>
    <div class="page-box h100 display-flex czbj">
        <p class="title-label">用户列表</p>
        <div class="mt10">
            <dxtable 
            :dataJson="dataJson"
             :portUrl="portUrl"
             :isshowXz="false"
              :qx="qx" ref="databale"
               :formJson="formJson"
                imgkuTitle="产品图片"></dxtable>
        </div>
    </div>
</template>
<script lang='ts' setup>
import dxtable from "./../../components/util/dxtable.vue";
import { dxget, dxpost, qurl, hf } from "./../../util/index";
import sort from "../../components/util/sort.vue";
import { h, ref, reactive } from "vue";

import pupimg from "./pupimg.vue"
const props = defineProps({
    pup: { type: String },
});
const initeer = () => {
    databale.value.initDataExpose();
};
let headBtn = [];
const databale = ref();
const klkjse = ref()
// 弹窗公用该列表
let dataJson = reactive([
{
        title: "openid",
        key: "openid",
    },
    {
        title: "昵称",
        key: "nickname",
        search: true, // 是否在搜索栏展示
    }, 
    {
    title: '手机号码',
    key: 'phone',
  },

  {
        title: "登录ip",
        key: "ip",
    },
 

]);
const Userid = localStorage.id
let portUrl = "shm/wxcharUser";
const qx = {
    DeletePermissionID: "shmuserListdel", //删除
    EditPermissionIdentifier: "shmuserListbj222", // 编辑
    NewPermissionIdentifier: "shmuserListxz", // 新建
    ViewPermissionID: "shmuserListck", // 查看
};
let formJson = reactive([
{
        title: "审核状态",
        key: "audit",
        type: "select",
        options: [
            {
                label:"等待审核",
                value:1
            }, {
                label:"通过",
                value:2
            }, {
                label:"不通过",
                value:3
            }
        ],
        val: "1",
        required: true, // 是否为必填
    },
    {
        title: "审核备注",
        key: "AuditRemarks",
        type: "textarea",
    },
]);
let pupVal = props.pup;

</script>


